<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Script file="CinematicFrame.lua"/>
	<Frame name="CinematicFrame" setAllPoints="true" hidden="true" enableKeyboard="true" enableMouse="true">
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="UpperBlackBar">
					<Size>
						<AbsDimension x="1024" y="128"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0"/>
				</Texture>
				<Texture name="LowerBlackBar">
					<Size>
						<AbsDimension x="1024" y="128"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				CinematicFrame_OnLoad();
			</OnLoad>
			<OnShow>
				SetupFullscreenScale(this);
			</OnShow>
			<OnEvent>
				CinematicFrame_OnEvent();
			</OnEvent>
			<OnKeyDown>
				local screenshotKey = GetBindingKey("SCREENSHOT");
				if ( arg1 == "ESCAPE" ) then
					StopCinematic();
				elseif ( screenshotKey and (arg1 == screenshotKey) ) then
					RunBinding("SCREENSHOT");
				end
			</OnKeyDown>
		</Scripts>
	</Frame>
</Ui>
